<?php
class FrontGallery
{
	public function getGalleryImages()
	{
		$sql = "SELECT gallery_id, filename
				FROM tbl_gallery
				WHERE status = 1";
		
		$gallery_arr = DB::fetchAll($sql);
		return $gallery_arr;
	}

        public function getPromoImages()
	{
		$sql = "SELECT * FROM tbl_promobanner";

		$promo_arr = DB::fetchAll($sql);
		return $promo_arr;
	}
}
?>